package com.qingzhuge.member.service;

import com.qingzhuge.member.entity.SysMember;
import com.qingzhuge.member.entity.SysMemberVerification;
import com.qingzhuge.service.IBasePkLongService;
import com.qingzhuge.verification.dto.CloudAuthRequest;

/**
 * @author : zero.xiao
 * @description : 会员
 * @date :2018/6/8 0008 下午 15:04
 * @modified :
 * @since : 1.0.0
 */
public interface ISysMemberCloundAuthService extends IBasePkLongService<SysMemberVerification> {
    SysMemberVerification findByUser(Long userId);

    SysMemberVerification findByToken(String token);

    SysMemberVerification auth(CloudAuthRequest request, SysMember member);

    SysMemberVerification getAuth(String token);
}

